<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>百度搜索框</title>
    <style>
      input {
        width: 380px;
        height: 34px;
        font-size: 25px;
        border: 2px solid #4e6ef2;
        border-right: 0;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        outline: none;
        background: url(../img/camera.png) 350px no-repeat;
        float: left; /* 浮动 */
      }

      button {
        width: 150px;
        height: 40px;
        color: #fff;
        font-size: 20px;
        background-color: #4e6ef2;
        border: 0;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        float: left; /* 浮动 */
      }
    </style>
  </head>
  <body>
    <input type="text" />
    <button type="button">百度一下</button>
  </body>
</html>
